/**
 * 铁架台
 */
Iron = Widget.extend({
	ctor:function(parent){
		this._super();
		parent.addChild(this,30);
		this.setTag(TAG_IRON);
		this.init();
	},
	init : function(){
		this.setVisible(false);
		this.setCascadeOpacityEnabled(true);

		var iron=new Button(this,10,TAG_IRON1,"#run/shelf_right_body.png",this.callback,this);
		iron.setScale(0.6);
		
		var iron1=new Button(iron,10,TAG_IRON2,"#run/shelf_right_jiazi1.png",this.callback,this);
		iron1.setPosition(iron.width*0.7,iron.height*0.85);
	},

	callback:function(p){
		var func=cc.callFunc(function() {
			gg.flow.next();
		}, this);
		switch (p.getTag()) {
		default:
			break;
		}
	}
});
